package com.tianji.learning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.api.dto.leanring.LearningLessonDTO;
import com.tianji.api.dto.leanring.LearningRecordFormDTO;
import com.tianji.common.domain.query.PageQuery;
import com.tianji.learning.domain.po.LearningRecord;
import com.tianji.learning.domain.vo.LearningPlanPageVO;

/**
 * <p>
 * 学习记录表 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-24
 */
public interface ILearningRecordService extends IService<LearningRecord> {

    /**
     * 查询指定课程学习记录
     * @param courseId
     * @return
     */
    LearningLessonDTO getLearningRecords(Long courseId);

    /**
     * 提交学习进度
     * @param learningRecordFormDTO
     */
    void submitStudyRecords(LearningRecordFormDTO learningRecordFormDTO);

}
